﻿using System;

namespace Donal.Xms.Model
{
    /// <summary>
    /// 产品属性字段表
    /// </summary>
    [Serializable]
    public partial class products_field
    {
        public products_field()
        { }
        #region Model
        private int _id;
        private int _products_id = 0;
        private int _field_id = 0;
        /// <summary>
        /// 自增ID
        /// </summary>
        public int id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 产品属性ID
        /// </summary>
        public int products_id
        {
            set { _products_id = value; }
            get { return _products_id; }
        }
        /// <summary>
        /// 字段ID
        /// </summary>
        public int field_id
        {
            set { _field_id = value; }
            get { return _field_id; }
        }

        /// <summary>
        /// 0显示作为筛选条件 1不作为筛选条件
        /// </summary>
        public int display { get; set; } = 0;
        /// <summary>
        /// 排序 越小越前
        /// </summary>
        public int sort_id { get; set; } = 99;

        #endregion
    }
}